package com.zhouyu.dockerkuber.controller;

import com.zhouyu.dockerkuber.entity.UserDto;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 周宇
 * @version 1.0 date: 2019/8/7 10:46
 * @description:
 * @Copyright (C), 2017-2019, 深圳市⾦证引擎科技股份有限公司
 */
@Log4j2
@RestController
public class UserController {

  @GetMapping("/login")
  public String login(@RequestBody UserDto userDto) {
    log.info("用戶：{}",userDto);
    return "docker login success!!";
  }

}
